package inter4.service;/*
    @Auther:kongshan
    @Date:2023/6/8-06-08-9:29
    @Description:IntelliJ IDEA
    @version:


*/

import inter4.dao.IEducationDao;
import inter4.pojo.Education;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EducationService {
    @Autowired
    IEducationDao iEducationDao;



    //下拉列表，学历显示
    public List<Education> showAllEdu(){
        return iEducationDao.showAllEdu();
    }

    public IEducationDao getiEducationDao() {
        return iEducationDao;
    }

    public void setiEducationDao(IEducationDao iEducationDao) {
        this.iEducationDao = iEducationDao;
    }
}
